<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Table of Contents</title>
<meta name="generator" content="Oracle DARB XHTML Converter (Mode = document) - Version 5.1.2 Build 015" />
<meta name="date" content="2011-11-03T11:27:26Z" />
<meta name="robots" content="noarchive" />
<meta name="doctitle" content="Table of Contents" />
<meta name="relnum" content="Release 1.5" />
<meta name="partnum" content="E23376-02" />
<link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" />
<link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" />
<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="index" href="index.htm" title="Index" type="text/html" />
<link rel="next" href="loe.htm" title="Next" type="text/html" />
</head>
<body>
<div class="header"><a id="top" name="top"></a>
<div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" valign="top"><b>Lightweight UI Toolkit Developer's Guide</b><br />
<b>Release 1.5</b><br />
E23376-02</td>
<td valign="bottom" align="right">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="225">
<tr>
<td>&nbsp;</td>
<td align="center" valign="top"><a href="index.htm"><img src="./dcommon/gifs/index.gif" alt="Go To Index" /><br />
<span class="icon">Index</span></a></td>
</tr>
</table>
</td>
</tr>
</table>
<hr />
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100">
<tr>
<td align="center"><a href="loe.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span></a></td>
<td>&nbsp;</td>
</tr>
</table>
<a name="BEGIN" id="BEGIN"></a></div>
<!-- class="header" -->
<div class="ind"><!-- End Header -->
<h1 class="toc">Contents</h1>
<h2 class="tocheader"><a href="loe.htm">List of Examples</a></h2>
<h2 class="tocheader"><a href="lof.htm">List of Figures</a></h2>
<h2 class="tocheader"><a href="lot.htm">List of Tables</a></h2>
<h2 class="tocheader"><a href="title.htm">Title and Copyright Information</a></h2>
<h2 class="tocheader"><a href="preface.htm#Z400086710059">Preface</a></h2>
<ul style="list-style-type:none">
<li><a href="preface.htm#Z400086710000">Before You Read This Document</a></li>
<li><a href="preface.htm#Z400086710007">How This Document Is Organized</a></li>
<li><a href="preface.htm#Z400086710028">Shell Prompts</a></li>
<li><a href="preface.htm#Z400086710032">Typographic Conventions</a></li>
<li><a href="preface.htm#Z400086710050">Related Documentation</a></li>
<li><a href="preface.htm#Z400086710055">We Welcome Your Comments</a></li>
</ul>
<h2 class="tocheader"><a href="intro.htm#CEFIEGJH"><span class="secnum">1</span> Introducing the Lightweight UI Toolkit Library</a></h2>
<ul style="list-style-type:none">
<li><a href="intro.htm#Z40008751289572">API Overview</a>
<ul style="list-style-type:none">
<li><a href="intro.htm#Z40008751289547">Scope and Portability</a></li>
<li><a href="intro.htm#Z40008751289561">Events and Threading</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="widgets.htm#CEHGAEFC"><span class="secnum">2</span> Using Lightweight UI Toolkit Widgets</a></h2>
<ul style="list-style-type:none">
<li><a href="widgets.htm#Z40008781292076">Component</a></li>
<li><a href="widgets.htm#Z40008781292083">Container</a></li>
<li><a href="widgets.htm#Z40008781292090">Form</a></li>
<li><a href="widgets.htm#Z4000acc1292103">Create and Set Up a Form Label</a></li>
<li><a href="widgets.htm#Z4000acc1292115">Button</a></li>
<li><a href="widgets.htm#Z40008781292126">RadioButton</a></li>
<li><a href="widgets.htm#Z40008781292134">ButtonGroup</a></li>
<li><a href="widgets.htm#Z40008781292145">CheckBox</a></li>
<li><a href="widgets.htm#Z40008781292153">ComboBox</a></li>
<li><a href="widgets.htm#Z40008781292178">Tabs</a></li>
<li><a href="widgets.htm#Z4000acc1292166">TextArea</a></li>
<li><a href="widgets.htm#Z40008781294906">TextField</a></li>
<li><a href="widgets.htm#Z40008781295033">Calendar</a></li>
<li><a href="widgets.htm#Z4000f541295149">Tickering</a></li>
<li><a href="widgets.htm#Z4000f541295175">Bidi</a></li>
<li><a href="widgets.htm#Z400002a1297070">Virtual Keyboard</a></li>
<li><a href="widgets.htm#Z40008781297419">Customizing the Virtual Keyboard</a>
<ul style="list-style-type:none">
<li><a href="widgets.htm#Z400002a1297491">Changing the Virtual Keyboard Look and Feel</a></li>
<li><a href="widgets.htm#Z400002a1297109">Adding a Language</a></li>
<li><a href="widgets.htm#Z400002a1297674">Adding an Input Mode for Hebrew</a></li>
<li><a href="widgets.htm#Z400002a1297131">Binding a Virtual Keyboard to a TextField</a></li>
<li><a href="widgets.htm#Z400002a1297153">Adding Your Own Button to a TextField</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="lists.htm#CJBIDAJA"><span class="secnum">3</span> Using Lists</a></h2>
<ul style="list-style-type:none">
<li><a href="lists.htm#Z400087a1291990">Initializing a List</a></li>
<li><a href="lists.htm#Z400087a1292000">Creating a Model</a>
<ul style="list-style-type:none">
<li><a href="lists.htm#Z400087a1291954">ListModel</a></li>
<li><a href="lists.htm#Z400087a1291959">DefaultListModel</a></li>
</ul>
</li>
<li><a href="lists.htm#CJBJCFGJ">List Cell Renderer</a>
<ul style="list-style-type:none">
<li><a href="lists.htm#CJBCDHDJ">ListCellRenderer</a></li>
<li><a href="lists.htm#CJBDFHCB">DefaultListCellRenderer</a></li>
</ul>
</li>
<li><a href="lists.htm#Z400087a1292020">Adding Items to and Removing Items From a List</a></li>
<li><a href="lists.htm#Z400087a1292030">List Events</a>
<ul style="list-style-type:none">
<li><a href="lists.htm#Z400087a1291982">Fixed Selection Feature</a></li>
</ul>
</li>
<li><a href="lists.htm#Z4000dea1292260">Tickers in List</a></li>
<li><a href="lists.htm#sthref81">Generic List Cell Renderer</a>
<ul style="list-style-type:none">
<li><a href="lists.htm#sthref84">Mapping Components to Hashtable Entries</a></li>
<li><a href="lists.htm#sthref89">Focus for Tickering and Fisheye</a></li>
<li><a href="lists.htm#sthref90">Hashtable Sample</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="tabletree.htm#Z4002e6e1292041"><span class="secnum">4</span> Table and Tree</a></h2>
<ul style="list-style-type:none">
<li><a href="tabletree.htm#Z40022e81356328">Table</a></li>
<li><a href="tabletree.htm#Z400087c1357250">Tree</a></li>
<li><a href="tabletree.htm#Z400087c1357370">Customizing the Tree</a></li>
</ul>
<h2 class="tocheader"><a href="dialogs.htm#CEHBCCIJ"><span class="secnum">5</span> Using Dialogs</a></h2>
<ul style="list-style-type:none">
<li><a href="dialogs.htm#Z400087f1290622">Dialog Types</a></li>
<li><a href="dialogs.htm#Z400087f1290630">Creating a Dialog</a>
<ul style="list-style-type:none">
<li><a href="dialogs.htm#Z400087f1290586">Return Types of Show Methods</a></li>
<li><a href="dialogs.htm#CEHHEJJH">Non-Static Show Methods</a></li>
<li><a href="dialogs.htm#Z400087f1290605">Using the <code>dispose()</code> Method</a></li>
<li><a href="dialogs.htm#Z400087f1290616">Getting the User's Input from a Dialog</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="layout.htm#BBJEHCEA"><span class="secnum">6</span> Using Layout Managers</a></h2>
<ul style="list-style-type:none">
<li><a href="layout.htm#BBJDIDGG">BorderLayout</a></li>
<li><a href="layout.htm#BBJFGBBH">BoxLayout</a>
<ul style="list-style-type:none">
<li><a href="layout.htm#Z40008821290575">X_AXIS</a></li>
<li><a href="layout.htm#Z40008821290584">Y_AXIS</a></li>
</ul>
</li>
<li><a href="layout.htm#BBJHEIBE">FlowLayout</a></li>
<li><a href="layout.htm#BBJHBJBI">GridLayout</a></li>
<li><a href="layout.htm#BBJEHJJG">GroupLayout</a></li>
<li><a href="layout.htm#BBJFEEFB">Coordinate Layout</a></li>
<li><a href="layout.htm#BBJBJCBD">Table Layout</a></li>
</ul>
<h2 class="tocheader"><a href="style.htm#BADGGABB"><span class="secnum">7</span> Using the Style Object</a></h2>
<ul style="list-style-type:none">
<li><a href="style.htm#Z40008861289540">Color</a></li>
<li><a href="style.htm#Z40008861289550">Font</a></li>
<li><a href="style.htm#Z40008861289558">Transparency</a></li>
<li><a href="style.htm#BADIFJEI">Margin and Padding</a></li>
<li><a href="style.htm#Z40008861289572">Images</a></li>
<li><a href="style.htm#Z40008861289580">Borders</a>
<ul style="list-style-type:none">
<li><a href="style.htm#sthref132">Bevel</a></li>
<li><a href="style.htm#sthref139">Etched</a></li>
<li><a href="style.htm#sthref146">Line</a></li>
<li><a href="style.htm#sthref148">Round</a></li>
<li><a href="style.htm#sthref152">Image</a>
<ul style="list-style-type:none">
<li><a href="style.htm#sthref154">9 Part</a></li>
<li><a href="style.htm#sthref157">3 Part</a></li>
<li><a href="style.htm#sthref159">Horizontal/Vertical</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="style.htm#Z40008861289584">Style Listener</a></li>
<li><a href="style.htm#Z40008861289590">Painters</a></li>
</ul>
<h2 class="tocheader"><a href="theme.htm#BADBCIEI"><span class="secnum">8</span> Theming</a></h2>
<ul style="list-style-type:none">
<li><a href="theme.htm#Z400088c1290505">Basic Theming</a></li>
<li><a href="theme.htm#Z400088c1290550">Look and Feel</a></li>
</ul>
<h2 class="tocheader"><a href="resources.htm#CJBCGCDD"><span class="secnum">9</span> Resources</a></h2>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z40006f51296068">Resource Elements</a>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z400088e1295938">Building a Bundle</a>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z40006f51295860">Creating a Resource</a></li>
<li><a href="resources.htm#Z400088e1295866">Loading a Resource</a></li>
</ul>
</li>
<li><a href="resources.htm#CJBDAHDJ">Image Resources</a></li>
<li><a href="resources.htm#Z400088e1295971">Fonts</a>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z400088e1295872">System Font</a></li>
<li><a href="resources.htm#CJBJCEBG">Dynamic Fonts</a></li>
</ul>
</li>
<li><a href="resources.htm#CJBHGHFJ">Localization (L10N)</a></li>
<li><a href="resources.htm#Z400088e1296003">Themes</a></li>
</ul>
</li>
<li><a href="resources.htm#CJBGJEIB">The LWUIT Resource Editor</a>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z400088e1296012">Images and Animations</a></li>
<li><a href="resources.htm#Z400088e1296018">Fonts</a></li>
<li><a href="resources.htm#Z400088e1296027">Localization</a></li>
<li><a href="resources.htm#CJBEAHFA">Themes</a>
<ul style="list-style-type:none">
<li><a href="resources.htm#Z400088e1295897">Example: Adding a New Theme</a></li>
<li><a href="resources.htm#Z400088e1295910">Modifying Theme Entries</a></li>
<li><a href="resources.htm#Z400088e1295919">Data</a></li>
<li><a href="resources.htm#Z400088e1295923">Customizing the Preview</a></li>
<li><a href="resources.htm#Z400088e1295934">Known Issues</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="painters.htm#CGFDAHFE"><span class="secnum">10</span> Painters</a></h2>
<ul style="list-style-type:none">
<li><a href="painters.htm#Z40006f21289792">Using Painter</a></li>
<li><a href="painters.htm#Z40008841358354">Painter Chain</a></li>
<li><a href="painters.htm#Z40027511358817">Glass Pane</a></li>
</ul>
<h2 class="tocheader"><a href="lwuitimpl.htm#Z4002e6d1292041"><span class="secnum">11</span> LWUIT Implementation</a></h2>
<ul style="list-style-type:none">
<li><a href="lwuitimpl.htm#Z40008881357370">LWUIT Class</a></li>
</ul>
<h2 class="tocheader"><a href="htmlcomponent.htm#BBJIDHGF"><span class="secnum">12</span> HTMLComponent</a></h2>
<ul style="list-style-type:none">
<li><a href="htmlcomponent.htm#Z40004c31296715"><code>HTMLComponent</code> Use Cases</a>
<ul style="list-style-type:none">
<li><a href="htmlcomponent.htm#Z40004c31296910">Rendering Rich Text</a></li>
<li><a href="htmlcomponent.htm#Z40004c31296924">Reading HTML and Enabling External Resources</a></li>
</ul>
</li>
<li><a href="htmlcomponent.htm#Z40004c31298318"><code>HTMLCallback</code></a>
<ul style="list-style-type:none">
<li><a href="htmlcomponent.htm#Z40004c31298332"><code>parsingError</code></a></li>
<li><a href="htmlcomponent.htm#Z40004c31298346"><code>pageStatusChanged</code></a></li>
<li><a href="htmlcomponent.htm#Z40004c31298368"><code>titleUpdated</code></a></li>
<li><a href="htmlcomponent.htm#Z40004c31298386"><code>linkClicked</code></a></li>
<li><a href="htmlcomponent.htm#Z40004c31298404"><code>getLinkProperties</code></a></li>
<li><a href="htmlcomponent.htm#Z40004c31298518">Auto Complete</a></li>
</ul>
</li>
<li><a href="htmlcomponent.htm#Z40004c31298585">Fonts</a>
<ul style="list-style-type:none">
<li><a href="htmlcomponent.htm#Z40004c31298599">Default Font</a></li>
<li><a href="htmlcomponent.htm#Z40004c31298613">System Fonts in HTMLComponent</a></li>
<li><a href="htmlcomponent.htm#Z40004c31298658">Bitmap Fonts</a></li>
<li><a href="htmlcomponent.htm#Z40004c31298676">Font Tags</a></li>
</ul>
</li>
<li><a href="htmlcomponent.htm#Z40004c31299157">Styles in HTMLComponent</a></li>
<li><a href="htmlcomponent.htm#Z40004c31299171">Character Entities</a></li>
<li><a href="htmlcomponent.htm#Z40004c31299193">HTMLComponent Settings</a></li>
<li><a href="htmlcomponent.htm#Z40004c31299211">CSS Support</a></li>
<li><a href="htmlcomponent.htm#Z40004c31299229">Implementing a DocumentRequestHandler</a></li>
<li><a href="htmlcomponent.htm#Z40004c31299247">DocumentInfo</a>
<ul style="list-style-type:none">
<li><a href="htmlcomponent.htm#Z4000b9f1301184"><code>getUrl</code></a></li>
<li><a href="htmlcomponent.htm#Z4000b9f1301148"><code>getEncoding</code> and <code>setEncoding</code></a></li>
<li><a href="htmlcomponent.htm#Z4000b9f1301157"><code>getParams</code></a></li>
<li><a href="htmlcomponent.htm#Z4000b9f1301166"><code>getExpectedContentType</code> and <code>setExpectedContentType</code></a></li>
<li><a href="htmlcomponent.htm#Z4000b9f1301175"><code>getFullUrl</code> or <code>getBaseUrl</code></a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="transitions.htm#CEHFEDIH"><span class="secnum">13</span> Using Transitions and Animations</a></h2>
<ul style="list-style-type:none">
<li><a href="transitions.htm#CEHCJHCC">Animation</a></li>
<li><a href="transitions.htm#Z40006f61289428">Motion</a></li>
<li><a href="transitions.htm#Z40006f61289435">Transition</a>
<ul style="list-style-type:none">
<li><a href="transitions.htm#Z40006f61289405">Slide Transition</a></li>
<li><a href="transitions.htm#Z40008901289414">Fade Transition</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="extend.htm#CHECEECE"><span class="secnum">14</span> Authoring Components</a></h2>
<ul style="list-style-type:none">
<li><a href="extend.htm#Z40008961293261">Painting</a></li>
<li><a href="extend.htm#Z40008961293276">Sizing In Layout</a></li>
<li><a href="extend.htm#Z40008961293286">Event Handling</a></li>
<li><a href="extend.htm#Z40008961293292">Focus</a></li>
<li><a href="extend.htm#Z40008961293303">The Painting Pipeline</a></li>
<li><a href="extend.htm#Z40008961293320">Styling</a></li>
<li><a href="extend.htm#Z40008961293342">Background</a></li>
<li><a href="extend.htm#Z40008961293348">Animating The Component</a></li>
<li><a href="extend.htm#Z40008961293358">The Custom Component</a></li>
</ul>
<h2 class="tocheader"><a href="portability.htm#CEHEFJDI"><span class="secnum">15</span> Portability and Performance</a></h2>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293323">Introduction</a></li>
<li><a href="portability.htm#Z40008981293331">Performance</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293228">Memory</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293193">Encoded Images</a></li>
</ul>
</li>
<li><a href="portability.htm#Z40008981293240">Speed</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293209">Event Dispatch Thread (EDT)</a></li>
<li><a href="portability.htm#Z40008981293219">LWUIT Performance</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="portability.htm#Z40008981293356">Device Bugs And Limitations</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293255">Bugs</a></li>
<li><a href="portability.htm#Z40008981293267">Limitations</a></li>
</ul>
</li>
<li><a href="portability.htm#Z40008981293380">Resolution Independence</a></li>
<li><a href="portability.htm#Z40008981293385">Input</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293283">Soft Buttons</a></li>
<li><a href="portability.htm#CEHFCGII">Back Button</a></li>
<li><a href="portability.htm#Z40008981293294">Touch Screen Devices</a></li>
</ul>
</li>
<li><a href="portability.htm#Z40008981293393">Specific Device Issues</a>
<ul style="list-style-type:none">
<li><a href="portability.htm#Z40008981293299">Motorola</a></li>
<li><a href="portability.htm#Z40008981293303">BlackBerry</a></li>
<li><a href="portability.htm#Z40008981293187">Create a <code>.cod</code> File</a></li>
<li><a href="portability.htm#Z40008981293309">Nokia S40</a></li>
<li><a href="portability.htm#Z40008981293313">Sony Ericsson</a></li>
<li><a href="portability.htm#Z40008981293319">General Portability Tip</a></li>
</ul>
</li>
</ul>
<h2 class="tocheader"><a href="minifaq.htm#BBJGJGGH"><span class="secnum">A</span> LWUIT Mini FAQ</a></h2>
<h2 class="tocheader"><a href="index.htm">Index</a></h2>
</div>
<!-- class="ind" -->
<!-- Start Footer -->
<div class="footer">
<hr />
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="33%" />
<col width="*" />
<col width="33%" />
<tr>
<td valign="bottom">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100">
<col width="*" />
<col width="48%" />
<col width="48%" />
<tr>
<td>&nbsp;</td>
<td align="center"><a href="loe.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span></a></td>
</tr>
</table>
</td>
<td class="copyrightlogo"><img class="copyrightlogo" src="./dcommon/gifs/oracle.gif" alt="Oracle Logo" /><br />
<span class="copyrightlogo">Copyright&nbsp;&copy;&nbsp;2008, 2011,&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.</span> <a href="./dcommon/html/cpyr.htm"><br />
<span class="copyrightlogo">Legal Notices</span></a></td>
<td valign="bottom" align="right">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="225">
<tr>
<td>&nbsp;</td>
<td align="center" valign="top"><a href="index.htm"><img src="./dcommon/gifs/index.gif" alt="Go To Index" /><br />
<span class="icon">Index</span></a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- class="footer" -->
</body>
</html>
